//
//  GMBaseViewController.h
//  gentleman
//
//  Created by 范月成 on 2017/12/5.
//  Copyright © 2017年 fancy. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ClassesHeader.h"
#import "CommonDefines.h"
#import "VendorHeader.h"
#import "API.h"

@interface GMBaseViewController : UIViewController

- (instancetype)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil NS_DESIGNATED_INITIALIZER;
- (instancetype)initWithCoder:(NSCoder *)aDecoder NS_DESIGNATED_INITIALIZER;

- (void)didInitialized NS_REQUIRES_SUPER;


@property (nonatomic, assign) UIInterfaceOrientationMask supportedOrientationMask;

@end

@interface GMBaseViewController (GMSubclassingHooks)

- (void)initSubviews NS_REQUIRES_SUPER;

@end

@interface GMBaseViewController (GMLayout)

@property (nonatomic, assign, readonly) CGFloat safeAreaTop;
@property (nonatomic, assign, readonly) CGFloat safeAreaBottom;

@end
